package cn.lcj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * $
 *
 * @return $
 * @date $ $
 * @description $
 */
//@EnableAutoConfiguration//申明这是一个spring的启动类
//@ComponentScan//扫描mapper接口
@SpringBootApplication
//扫描mapper接口，连接读取service接口
@MapperScan("cn.lcj.*.mapper")
public class App {
    public static void main(String[] args) {
        //App的启动方法
        SpringApplication.run(App.class);
    }
}
